# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-colander
_pkgname=colander
pkgver=1.8.3
pkgrel=2
pkgdesc="simple schema-based Python serialization and deserialization library"
url="http://docs.pylonsproject.org/projects/colander/en/latest/"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-iso8601 py3-translationstring"
checkdepends="py3-nose py3-coverage"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="463cb4ab7538a7b8991f8eff3652f003366b96c8456df8f7ed0faa64aacf7e068e6af9e13dc81fd233253bd1454de0d3dfe6191ba2465ec8d8b41b9c06cdc5f8  colander-1.8.3.tar.gz"
